package com.xmh.reptile.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xmh.reptile.entity.AuthorEntity;

@Mapper
public interface AuthorDAO {

	AuthorEntity get(AuthorEntity author);

	void add(AuthorEntity author);

	void delete(AuthorEntity author);

	void update(AuthorEntity author);

	List<AuthorEntity> selectList(Map<String, Object> jsonMap);

	AuthorEntity getById(Integer id);

}
